package com.admin.domain.repository;

import com.admin.domain.modle.Banner;

import java.util.List;


/**
 * description 轮播图接口
 * User: WeiDa
 * Date: 2017-4-11
 * Time: 16:45
 */
public interface BannerRepository {

    void add(Banner banner);

    void update(Banner banner);

    Banner get(String code);

    List<Banner> list(String key);

    void remove(String code);


}
